package DesignPatern.A23_桥梁模式.A02_抽象模式;

/**
 * @Author: Du
 * @Date: 2021/8/12 16:23
 */
public abstract class Abstraction
{
    private Implementor implementor;//抽象出来部分的接口
    
    public Abstraction(Implementor implementor)
    {
        this.implementor = implementor;
    }
    
    public void doWork()
    {
        this.implementor.doSomeThing();
    }
}
